/**
 * Axelor Business Solutions
 *
 * Copyright (C) 2005-2017 Axelor (<http://axelor.com>).
 *
 * This program is free software: you can redistribute it and/or  modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
/* FORM VIEW */

::-ms-clear {
  display: none;
}

input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
	cursor: default;
}

.view-container .form-view > div:last-child {
	position: absolute;
	top: 41px;
	bottom: 0; left: 0; right: 0;
	overflow: auto;
}

.view-container .form-view > div.no-toolbar {
	top: 0;
}

.view-container .form-view > div[ui-view-form].has-width {
	padding: 8px 16px;
	background-color: #f7f7f9;
}

.view-container .form-view > div[ui-view-form].has-width > form {
	padding: 8px;
	background-color: #fff;
	
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
	
	width: 90%;
	min-width: 600px;
	overflow: auto;
}

@media screen and (max-width: 979px) {
	.view-container .form-view > div[ui-view-form].has-width {
		padding: 4px;
		background-color: #fff !important;
	}
	.view-container .form-view > div[ui-view-form].has-width > form {
		border: none;
		border-radius: 0;
		box-shadow: none;
		width: auto;
	}
}

.view-container .form-view .nested-editor form {
	width: inherit !important;
}

form.dynamic-form {
	margin: 4px auto;
}

table.form-layout {
	width: 100%;
	border-collapse: collapse;
}

table.form-layout * {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	        box-sizing: border-box;
}

table.form-debug,
table.form-debug td.form-label,
table.form-debug td.form-item {
	border: 1px solid #D14;
}

table.form-layout td.form-label,
table.form-layout td.form-item {
	padding: 2px;
	vertical-align: top;
}

table.form-layout td.form-label {
	text-align: left;
	padding-left: 8px;
	padding-right: 4px;
	width: 15%;
	min-width: 100px;
}

table.form-layout td.form-item.boolean-item {
	vertical-align: inherit;
}

table.form-layout td.form-label > label {
	padding-top: 3px;
	margin-bottom: 0px;
	font-weight: 600;
	cursor: inherit;
}

table.form-layout td.form-label > label > span {
	cursor: pointer;
}

table.form-layout td.form-label label.required {
	color: #B94A48;
}

table.form-layout td.form-label label.readonly {
	color: inherit;
}

table.form-layout td.form-item > *,
.form-item-container > * {
	width: 100%;
	margin: 0 !important;
}

.form-item-container > * {
	width: 100%;
}

.form-item-container.editable.translatable::before {
	font-family: FontAwesome;
	font-size: 12px;
	content: "\f024";
	float: right;
  	margin-top: -18px;
}

table.form-layout td.form-item.v-align-top {
	vertical-align: top;	
}

.form-item-container,
.form-item-container > span.display-text {
	min-height: 26px;
	display: block;
}

.form-item-container {
	min-width: 26px;
}

.form-item-container > span.display-text {
	padding-top: 5px;
	padding-bottom: 2px;
}

.form-item-container input {
	height: 28px;
	padding: 2px 6px;
	min-width: 170px;
}

.form-item-container[style *= width] input {
	min-width: inherit;
}

.form-item-container.datetime-item .picker-input {
	min-width: 120px;
	width: 140px;
}

.form-item-container.time-item input {
	width: 60px;
	min-width: 40px;
}

.slick-cell .form-item-container {
	width: 100% !important;
	min-height: 100% !important;
}

.form-item-container input,
.form-item-container input:focus,
.form-item-container textarea,
.form-item-container textarea:focus {
	outline-style: none;
}

.form-item-container .small-input input,
.form-item-container input.small-input {
	min-width: 50px;
	height: 26px;
}

.form-item-container input[type="radio"],
.form-item-container input[type="checkbox"] {
	width: auto;
	min-width: inherit;
	height: inherit;
	margin-top: 6px !important;
}

.form-item-container label.checkbox {
	padding-right: 6px;
}

.form-item-container.readonly label.checkbox {
	cursor: default;
}

.form-item-container label.radio input[type="radio"],
.form-item-container label.checkbox input[type="checkbox"] {
	margin-top: 3px !important;
}

.form-item > a.btn,
.form-item-container button {
	padding: 2px 10px 2px;
	min-width: 26px;
	height: 26px;
	overflow: hidden;
	white-space: nowrap;
}

.form-item-container textarea {
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
	resize: vertical;
}

.form-item fieldset {
	min-width: inherit;
}

table.form-layout fieldset {
	padding: 4px 0;
}

.form-item-container.readonly > a,
.form-item-container.readonly > input,
.form-item-container.readonly > span.display-text {
	padding-left: 2px;
}

.form-item-container.readonly > a {
	line-height: 22px;
	color: #0088cc;
}

.form-item-container.datetime input {
	min-width: 100px;
}

.form-item-container.datetime-item input {
	min-width: 134px;
}

.form-item-container > input.display-text {
	min-width: 100px;
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}

.form-item-container > a.display-text {
	display: inline-block;
	white-space: nowrap;
	height: 24px;
	padding-top: 3px;
}

.form-item-container > .display-text {
	text-overflow: ellipsis;
	overflow: hidden;
	color: #555555;
}

.picker-input,
.form-item .ui-spinner {
	box-sizing: border-box;
	position: relative;
	display: inline-block;
}

.picker-input > input {
	margin: 0;
	width: 100%;
}

.picker-input > .picker-icons {
	position: absolute;
	display: inline-block;
	white-space: nowrap;

	top: 0;
	right: 3px;
	height: 100%;
}

.picker-input > .picker-icons > i.fa {
	cursor: pointer;
	margin-right: 1px;
	padding: 2px;
	padding-top: 4px;
	display: inline-block;
	line-height: 20px;
	height: 100%;
}

.picker-input > input,
.picker-icons-1 > input {
	padding-right: 18px !important;
}

.picker-icons-2 > input {
	padding-right: 36px !important;
}

.picker-icons-3 > input {
	padding-right: 54px !important;
}

.picker-icons-4 > input {
	padding-right: 72px !important;
}

table.form-layout .tabbable-tabs .nav-tabs {
	margin-bottom: 0px;
}

table.form-layout .tabbable-tabs .tab-content {
	position: relative;
	padding: 4px;
	border: 1px solid #DDD;
	border-top: 0;
	background-color: #fff;
}

.form-item .stackbar {
	position: relative;
}

.form-item .stackbar.inline-editable {
	min-height: 200px;
}

.form-item .stackbar.noEdit .edit-icon i:before,
.form-item .stackbar.readonly .edit-icon i:before {
	content: "\f0f6";
}

.form-item .stackbar .slickgrid {
	position: absolute;
	left: 0px; right: 0px;
	top: 26px; bottom: 0px;
	border-top: none;
}
	
.icons-bar {
	display: inline-block;
	padding-top: 4px;
}

.icons-bar i {
	margin: 2px;
	padding: 2px;
	cursor: pointer;
}

td.form-item > * {
	position: relative;	
}

.border-box,
.bordered-box {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	        box-sizing: border-box;
}

.bordered,
.bordered-box {
	border: 1px solid #DDD;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	    -ms-border-radius: 4px;
	        border-radius: 4px;
}

.form-item .disabled-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 10;
}

.form-item .form-item-group > .disabled-overlay {
	top: 12px;
}

.form-item .form-item-group[x-show-title="false"] > .disabled-overlay {
	top: 0;
}

.ui-state-disabled .ui-state-disabled {
	opacity: 1;
}

.form-item .form-item-group {
	padding: 0;
}

.form-item .form-item-group.bordered-box {
	padding: 4px;
}

.form-item .form-item-group.bordered-box.has-title {
	padding-top: 0;
}

.form-item .form-item-group > legend i.fa {
	color: #ccc;
	height: 15px;
	margin-right: 4px;
	vertical-align: middle;
	display: inline-block;
	cursor: pointer;
}

.form-item .form-item-group > legend i.fa:hover {
	 text-decoration: none;
	 color: inherit;
}

.form-item .form-item-group > legend {

	width: auto;
	margin: 0;
	margin-left: 10px;
	padding: 0 4px;
		
	font-size: inherit;
	font-weight: 600;
	line-height: 1.4em;
	
	border: none;
}

.form-item .form-item-portlet,
.form-item .form-item-portlet .portlet {
	min-height: 250px;
}

.form-item .image-item .image-wrapper {
	position: relative;
}

.form-item .image-item div.btn-group {
	position: absolute;
	left: calc(50% - 32px);
	bottom: 12px;
}
.form-item .image-item div.btn-group .btn {
	padding: 2px 6px 2px;
}

.form-item .nested-editor > legend > .legend-toolbar a {
	outline: none;
}

.form-item .nested-editor > legend > .legend-toolbar a:hover {
	text-decoration: none;
}
.form-item .nested-editor > legend > .legend-toolbar a:first-of-type {
	padding-left: 4px;
}

.form-item .nested-editor {
	margin-top: -3px !important;
}

.form-item .nested-editor.inline-form {
	position: relative;
	border: 0;
	padding-top: 30px;
}

.form-item .nested-editor.detail-form {
	border-top: 0;
	padding-top: 8px; 
}

.form-item .not-readonly {
	background: inherit !important;
}

.ng-invalid > input,
.ng-invalid > textarea,
.ng-invalid > .picker-input input,
.ng-invalid > .ui-spinner input,
.ng-invalid > .tag-select,
.ng-invalid > .form-item-container > .wysiwyg-container {
	border-color: #B94A48;
}

.ng-invalid:focus,
.ng-invalid > input:focus,
.ng-invalid > textarea:focus,
.ng-invalid > .picker-input input:focus,
.ng-invalid > .ui-spinner input:focus {
	border-color: #953B39;
}

.nested-not-required .form-item .ng-invalid > input,
.nested-not-required .form-item .ng-invalid > textarea,
.nested-not-required .form-item .ng-invalid > .picker-input input,
.nested-not-required .form-item .ng-invalid > .ui-spinner input,
.nested-not-required .form-item .ng-invalid > .tag-select
.nested-not-required .form-item .ng-invalid > .form-item-container > .wysiwyg-container {
	border-color: #ccc;
}

.nested-not-required .form-item .ng-invalid:focus,
.nested-not-required .form-item .ng-invalid > input:focus,
.nested-not-required .form-item .ng-invalid > textarea:focus,
.nested-not-required .form-item .ng-invalid > .picker-input input:focus,
.nested-not-required .form-item .ng-invalid > .ui-spinner input:focus {
	border-color: #953B39;
}

.form-item form {
	margin: 0;
}

.form-item div.code-editor {
	min-height: 50px;
	height: 280px;
}

.form-item div.code-editor .CodeMirror {
	border: 1px solid #DDD;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	height: inherit;
}
.form-item div.code-editor .CodeMirror-scroll {
	height: calc(100% + 30px);
	width: 100%;
}

.form-item div.code-editor.readonly .CodeMirror-focused .CodeMirror-cursor {
	visibility: hidden;
} 

.form-item span.error {
	color: #953B39;
}

.form-item .span-item {
	display: inline-block;
	padding: 2px;
	padding-left: 6px;
}

.form-item .spacer-item {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
}

.form-item .separator-item span {
	font-weight: 600;
}

.form-item .separator-item hr {
	margin: 4px 0;
	border-top-color: #c1c1c1;
}

.form-item .ui-spinner {
	padding-right: 0;
	border: 0;
	overflow: inherit;
}

.form-item .ui-spinner .ui-spinner-up {
	margin-top: 1px;
}

.form-item .ui-spinner .ui-spinner-down {
	margin-bottom: 1px;
}
.form-item-container .ui-spinner .ui-spinner-button {
	cursor: pointer;
}

.form-item-container .ui-spinner input {
	width: 100%;
	text-align: right;
	padding-right: 18px;
	margin: 0;
}

.form-item ul.radio-select,
.form-item ul.checkbox-select  {
	list-style-type: none;
	overflow: hidden;
	padding-top: 3px;
	margin: 0;
}

.form-item ul.radio-select > li,
.form-item ul.checkbox-select > li {
	float: left;
	margin: 0 4px;
}

.form-item ul.radio-select-vertical > li,
.form-item ul.checkbox-select-vertical > li {
	float: none;
}

.form-item ul.radio-select > li input[type="radio"],
.form-item ul.checkbox-select > li input[type="checkbox"] {
	margin-top: -2px;
}

.form-item ul.radio-select.readonly > li label,
.form-item ul.checkbox-select.readonly > li label {
	cursor: default;
}

.form-item-container .hot-edit-icon {
	width: 18px;
	position: absolute;
	left: -16px;
	top: 7px;
	cursor: pointer;
	display: none;
}

form.readonly .form-item-container:hover .hot-edit-icon {
	display: inline;
}

.no-edit .hot-edit-icon,
[x-readonly="true"] .hot-edit-icon {
	display: none !important;
}

table.field-details {
	width: 220px;
}

table.field-details th {
	width: 5%;
	text-align: right;
}

table.field-details th,
table.field-details td {
	white-space: nowrap;
}

table.field-details .help-text {
	white-space: normal;
}

table.field-details .help-text hr {
	margin: 9px 0;
}

.popover {
	width: auto;
	max-width: 480px;
	min-width: 220px;
	z-index: 2147483647;
}

.popover-inner {
	width: inherit;
	min-width: 280px;
	max-width: 480px;
	display: table;
	overflow: hidden;
}

.popover .field-details th {
	vertical-align: top;
	padding-right: 10px;
}

.popover .field-details code {
	display: block;
	white-space: pre-wrap;
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 12px;
}

.popover.bottom {
	background-color: #f7f7f7;
}

.popover.bottom .arrow:after {
	border-bottom-color: #f7f7f7;
}

.popover.bottom .popover-content {
	background-color: white;	
}

label.has-help > span:after {
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f06a";
	font-size: 10px;
	color: #107a4a;
	margin-left: 2px;
    position: absolute;
}

.ws-nowrap {
	white-space: nowrap;
}

.subtotal {
	float: right;
}

.subtotal,
.subtotal input {
	white-space: nowrap;
	text-align: right;
}

.subtotal label {
	text-align: right;
	font-weight: normal !important;	
}

.subtotal,
.subtotal * {
	min-width: auto !important;
	width: auto !important;
	white-space: nowrap !important;
}

.subtotal .form-label,
.subtotal .form-item {
	padding: 2px 0 !important;
}

.subtotal .display-text {
	width: 100% !important;
	padding-left: 22px !important;
}

.subtotal-total {
	border-top: 1px solid #c1c1c1;
	font-size: 18px;
	padding-top: 6px !important;
}

.subtotal-total .display-text {
	font-weight: 600;
	padding-top: 0 !important;
}

.nav-select {

}

.nav-select *,
.nav-select *:after,
.nav-select *:before {
	box-sizing: border-box;
}

.nav-select a {
	outline: none;
	text-decoration: none;
	color: #333;
}

.nav-select ul.nav-steps {
	margin: 0;
}

.nav-select ul.nav-steps,
.nav-select li.nav-step {
	list-style: none;
}

.nav-select li.nav-step {
	float: left;
}

.nav-select a.nav-label {
	display: block;
	position: relative;
	line-height: 32px;
	padding: 0 14px 0 24px;
	white-space: nowrap;
	background: #e2e2e2;
}

.nav-select li.nav-step:first-child a.nav-label {
	padding-left: 18px;
}

.nav-select a.nav-label:after {
	content: '';
	width: 32px;
	height: 32px;
	-webkit-transform: scale(0.667) rotate(45deg);
	   -moz-transform: scale(0.667) rotate(45deg);
	    -ms-transform: scale(0.667) rotate(45deg);
	        transform: scale(0.667) rotate(45deg);

	position: absolute;
	right: -16px;
	z-index: 1;

	background: #e2e2e2;
	box-shadow: 2px -2px 0 1px rgba(83, 119, 177, 0.2)
}

.nav-select li.dropdown {
	max-width: 120px;
}
.nav-select li.dropdown a.nav-label {
	padding-right: 6px;
	padding: 0;
	height: 32px;
}

.nav-select li.dropdown a.nav-label > span {
	display: inline-block;
	float: left;
	max-width: 96px;
	margin-left: 24px;
	margin-right: 6px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nav-select li.dropdown a.nav-label > span:empty {
	margin-right: 0;
}

.nav-select li.dropdown a.nav-label:after {
	font-family: FontAwesome;
	content: '\f0d7';
	width: 16px;
	box-shadow: none;
	-webkit-transform: scale(1) rotate(0);
	   -moz-transform: scale(1) rotate(0);
	    -ms-transform: scale(1) rotate(0);
	        transform: scale(1) rotate(0);
}

.nav-select a.nav-label:hover,
.nav-select a.nav-label:hover:after {
	background: #d0d0d0;
	transition: background-color 0.3s;
}

.nav-select li.active a.nav-label,
.nav-select li.active a.nav-label:after {
	background: #16a765;
	transition: background-color 0.3s;
	color: #f0f0f0;
}

.nav-select .nav-step > .dropdown-menu {
	right: -16px;
	margin-top: -2px;
}

.tag-select {
	border: 1px solid #c1c1c1;
	border-radius: 4px;
	transition: border linear .2s, box-shadow linear .2s;
	min-height: 26px;
	height: 100%;
}

.tag-select.picker-input {
	background-color: #fff;
}

.readonly .tag-select {
	border: none;
	box-shadow: none;
}

.tag-select:focus,
.tag-select.focus {
	border-color: #16a765;
	outline: 0;
}

.tag-select-placeholder {
	position: absolute;
	top: 3px;
	left: 0;
	right: 16px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #999999;
}

.ng-invalid > .tag-select:focus,
.ng-invalid > .tag-select.focus {
	border-color: #953B39;
}

.tag-select ul {
	list-style: none;
	overflow: hidden;
	margin: 0;
	margin-right: 16px;
	padding-bottom: 2px;
}

.tag-select li {
	float: left;
	display: inline-block;
	margin: 0;
	margin-top: 2px;
	margin-right: 2px;
}

.tag-select span.label {
	display: inline-block;
	margin: 2px;
	margin-right: 0;
}

.tag-select span.label:first-child {
	margin-left: 0;
}

.tag-select li.tag-item {
	
}

.tag-select li.tag-item i,
.tag-select-single .tag-item i {
	font-size: 10px;
	cursor: pointer;
}

.tag-select .tag-text,
.tag-select .tag-link,
.tag-select-single .tag-link {
	display: inline-block;
	height: 15px;
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
}

.tag-select .tag-link,
.tag-select-single .tag-link {
	cursor: pointer;
}

.tag-select .tag-link:hover,
.tag-select-single .tag-link:hover {
	text-decoration: underline;
}

.tag-select li.tag-selector input {
	border: none;
	border-radius: 0 !important;
	box-shadow: none;
	width: 50px;
	min-width: 50px !important;
	margin: 0;
	padding: 0 !important;
	margin-left: 0;
	margin-top: -1px;
	line-height: 16px;
	height: auto !important;
}

.tag-select-single .tag-item {
	position: absolute;
	left: 4px;
	top: 4px;
}

.tag-select .tag-editor,
.tag-select-single .tag-editor {
	position: absolute !important;
	padding: 1px 4px !important;
	padding-right: 4px !important;
	box-shadow: none !important;
	min-width: 10px !important;
	height: auto !important;
	border: 0 !important;

	color: white;
	background-color: #3a87ad;
	font-weight: 600;
	font-size: 11px;
}

.tag-select-action-menu .tag-select-action a {
	font-style: oblique;
	padding-left: 12px;
}

.image-select > img {
	position: absolute;
	top: 5px;
	left: 8px;
}

.image-select.readonly > img {
	position: initial;
}

.image-select input {
	padding-left: 28px;
}

.empty > .image-select input {
	padding-left: 8px;
}

.image-select-item img {
	margin-right: 8px;
}

.multi-object-select {
	
}

.multi-object-select fieldset,
.multi-object-select td {
	padding: 0 !important;
}

.multi-object-select td.select-item {
	padding-right: 4px !important;
}

.select-item .picker-input > .picker-icons > .fa.fa-pencil {
	font-size: 12px;
}

.form-item-container textarea {
	box-sizing: border-box;
}

.form-item-container pre {
	color: inherit;
}

.button-item.img-button {
	background: #fff !important;
	width: auto !important;
	border: none  !important;
	padding: 2px !important;
	height: inherit !important;
}

.button-item.img-button img {
	margin: 0;
}

.button-item.img-button span {
	display: block;
}

.button-item.button-icon {
	text-decoration: none;
}

.record-toolbar .button-item.button-icon img {
	margin-top: -2px;
}

/* filter menu */

.filter-box {
	position: relative;
	display: inline-block;
	margin: 6px 4px 0;
	box-sizing: border-box;
	width: 200px;
	vertical-align: middle;
	z-index: 1;
}

.filter-box .search-query {
	width: 100%;
	min-height: 28px;
}

.filter-box .tag-select ul {
	padding-bottom: 0;
    margin-left: 2px;
}

.filter-box .tag-select li {
	margin-right: 0;
	margin-bottom: 0;
	max-width: 150px !important;
	text-overflow: ellipsis;
}

.filter-box .tag-select li.tag-item {
	line-height: 17px;
}

.filter-box .tag-select .tag-text {
	height: 16px;
}

.filter-box .tag-select li.tag-selector {
	width: 100%;
	max-width: 100% !important;
}

.filter-box .tag-select li.tag-selector input {
	width: 100%;
}

.filter-box .tag-select input.not-readonly {
	background-color: #fff;
}

.filter-box .search-icons {
	position: absolute;
	display: inline-block;
	top: 0;
	right: 0;
	padding-top: 8px;
	padding-right: 4px;
}

.filter-box .search-icons i {
	margin: 3px;
	cursor: pointer;
	color: silver;
}

.filter-box .search-icons i:hover {
	color: black;
}

.update-menu,
.filter-menu {

	display: none;
	position: absolute;

	padding: 12px;
	
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	background: #fff;
	
	border-radius: 4px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;

	z-index: 11;
}

.filter-menu hr {
	margin: 8px 0;
}

.filter-menu .filter-list {
	display: table;
}

.filter-menu .filter-list > dl {
	display: table-cell;
	width: 50%;
	padding-right: 40px;
}

.filter-menu .filter-list > dl dt {
	padding-bottom: 4px;
}

.filter-menu .filter-list > dl dt i {
	margin-right: 2px;
}

.filter-menu .filter-list > dl dd {
	cursor: pointer;
}

.filter-menu .filter-list > dl dd a[disabled] {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
	color: #333333;
	opacity: 0.5;
}

.filter-form .filter-operator .show-archived > span[disabled] {
	color: #333333;
	opacity: 0.5;
	cursor: default;
}

.filter-menu .filter-form .links {
	line-height: 20px;
}

.filter-menu .filter-form .links .divider {
	color: #c1c1c1;
	padding: 0 5px;
}

.filter-menu form {
	margin-bottom: 8px;
}

.filter-menu input[type=radio],
.filter-menu input[type=checkbox] {
	margin-top: 3px;
	min-width: initial;
}

.filter-menu .show-archived {
	margin-left: 26px;
}

.filter-form .form-layout .form-item > input,
.filter-form .form-layout .form-item > .form-item-container {
	width: auto;
	min-width: inherit;
	max-width: 170px;
}

.filter-form .form-layout .form-item > input {
	height: 26px;
}

.filter-form .form-layout .form-item.filter-select {
	width: 170px;
	min-width: 170px;
}

.filter-form .form-layout .form-item select {
	height: 26px;
	line-height: 26px;
	
	padding: inherit;
}

.filter-form .form-layout .filter-remove {
	width: 16px;
	min-width: 16px;
	max-width: 16px;
	padding-top: 5px;
	vertical-align: top;
}

.filter-form .form-layout {
	width: auto;
}

.record-toolbar button.update-menu-button {
	padding: 4px;
}

.filter-form.update-form .form-item {
	min-width: 170px;
}

.filter-menu.update-menu .checkbox.update-all {
	margin-left: 8px;
}

.filter-form .links {
	margin: 4px;
	padding-left: 14px;
}

.filter-menu .btn-small {
	font-size: 12px;
}

/* end filter/update menu */

.btn-group > .btn-fix-left {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.btn-group > .btn-fix-right {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.notify-stack {
	width: 340px;
}

.tag-select-placeholder {
    color: #777;
    font-size: 12px;
}

::-webkit-input-placeholder {
	font-size: 12px;
}

:-moz-placeholder { /* older Firefox*/
	font-size: 12px;
}

::-moz-placeholder { /* Firefox 19+ */
	font-size: 12px; 
} 

:-ms-input-placeholder {
	font-size: 12px;
}
